package com.gxa.modules.model.entity.hospital;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 科室表
 * </p>
 *
 * @author zhuiyi
 * @since 2022-11-13 05:39:52
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_department")
@ApiModel(value = "Department对象", description = "科室表")
public class Department implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "department_id", type = IdType.AUTO)
    private Long departmentId;

    @ApiModelProperty("医院id")
    @TableField("hospital_id")
    private Long hospitalId;

    @ApiModelProperty("科室名字")
    @TableField("department_name")
    private String departmentName;

    @ApiModelProperty("科室描述")
    @TableField("info")
    private String info;

    @ApiModelProperty("大科室id")
    @TableField("big_id")
    private Long bigId;

    @ApiModelProperty("大科室名称")
    @TableField("big_name")
    private String bigName;

    @ApiModelProperty("医院园区id")
    @TableField("hoppital_park_id")
    private Long hoppitalParkId;

    @ApiModelProperty("医院园区名字")
    @TableField("hospital_park_name")
    private String hospitalParkName;

    @ApiModelProperty("科室位置")
    @TableField("dep_address")
    private String depAddress;

    @ApiModelProperty("逻辑删除 0-未删除 1-删除")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;
    @ApiModelProperty("医生简介")
    @TableField("doctor_info")
    private String doctorInfo;

    @ApiModelProperty("医生姓名")
    @TableField("doctor_name")
    private String doctorName;

    @ApiModelProperty("医生id")
    @TableField("doctor_id")
    private Long doctorId;

    @ApiModelProperty("状态 0-启用 1-停用")
    @TableField("stauts")
    private Integer stauts;

}
